package com.fenqing.utils;

import cn.hutool.json.JSONUtil;

import java.util.List;

public class StringToIntListEncoder implements Encoder<String, List<Integer>> {
    @Override
    public List<Integer> encoder(String input) {
        return JSONUtil.parseArray(input).toList(Integer.class);
    }
}
